@import "../../assets/less/variable";
.wrapper{
  width: 100%;
  display: flex;
  flex-direction: column;
  .search{
    height: 44px;
    border-bottom: 1px solid #eee;
    margin: 48px auto;
    flex-shrink: 0;
    .searchWrapper {
      cursor: default;
      display: flex;
      height: 42px;
      position: relative;
      width: 100%;
      z-index: 10;
      input {
        background: #38383D rgba(12, 12, 13, 0.4) 8px center/18px no-repeat;
        border: solid 1px rgba(249, 249, 250, 0.2);
        box-shadow: 0 1px 4px 0 rgba(12, 12, 13, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.15);
        font-size: 15px;
        -moz-context-properties: fill;
        fill: rgba(249, 249, 250, 0.6);
        padding: 0;
        padding-inline-end: 36px;
        padding-inline-start: 34px;
        width: 100%;
        &:hover{
          box-shadow: 0 1px 4px 0 rgba(12, 12, 13, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.25);
        }
        &:active, &:focus{
          border: 1px solid #45A1FF;
          box-shadow: 0 0 0 1px #45A1FF, 0 0 0 4px rgba(69, 161, 255, 0.3);
        }
      }
      .searchLabel{
        background: url("../../assets/images/logo_mobile.svg") no-repeat center center;
        background-size: 16px 16px;
        border: 0;
        border-radius: 0 3px 3px 0;
        -moz-context-properties: fill;
        fill: rgba(249, 249, 250, 0.6);
        height: 100%;
        offset-inline-end: 0;
        position: absolute;
        left: 0;
        width: 36px;
        &:focus, &:hover {
          cursor: pointer;
        }
      }
      .searchButton{
        background-size: 16px 16px;
        border: 0;
        border-radius: 0 3px 3px 0;
        -moz-context-properties: fill;
        fill: rgba(249, 249, 250, 0.6);
        height: 100%;
        offset-inline-end: 0;
        position: absolute;
        right: 0px;
        width: 36px;
        &:focus, &:hover {
          background-color: rgba(12, 12, 13, 0.1);
          cursor: pointer;
        }
        &:active {
          background-color: rgba(12, 12, 13, 0.2);
        }
        i{
          display: inline-block;
          line-height: 42px;
          margin-left: 8px;
        }
      }
    }
    .searchKeywords {
      background: @white;
      position: absolute;
      z-index: 10;
      margin-top: 1px;
      border-top: 1px solid @grey-line-color;
      ul{
        li{
          height:30px;
          box-shadow: 0 -1px 0 @grey-line-color;
          line-height: 30px;
          p {
            padding-left: 36px;
          }
          &:hover{
            background-color: @blue;
            color: @white;
          }
        }

      }
    }
  }
  .wrap {
    margin: 0 auto;
    display: flex;
    flex-shrink: 0;
    justify-content: space-between;
    .container {
      .projects{
        display: flex;
        flex-direction: column;
        .mime{
          .listPadding{
            padding: 0 12px 12px 12px;
          }
        }
        .join{
          .listPadding{
            padding: 0 12px 12px 12px;
          }
        }
      }
      .unit {
        height: 120px;
        background-color: @body-background;
        background-repeat: no-repeat;
        background-size: 100%;
        background-position: center center;
        margin-bottom: 16px;
        border-radius: 2px;
        box-shadow: @block-box-shadow;
        transform: translate3d(0, 0, 0);
        transition: transform 200ms linear,
        box-shadow 200ms linear,
        background-size 500ms linear;
        position: relative;
        cursor: pointer;

        &:hover {
          background-size: 110%;
          box-shadow: @block-active-box-shadow;
          transform: translate3d(0, -5px, 0);
          .createIcon {
            color: @blue;
          }
          .createText {
            color: @blue;
          }
        }

        &.editing {
          opacity: .3;
        }

        header {
          background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 100%);
          border-radius: 2px 2px 0 0;
        }

        .title {
          padding: 12px 40px 0 12px;
          color: @white;

          .ellipsis;
        }

        .content {
          padding: 8px 12px 24px;
          color: @white;

          .ellipsis;
        }

        .mimeActions, .joinActions, .collectActions {
          position: absolute;
          right: 8px;
        }
        .mimeActions {
          top: 8px;
        }
        .joinActions, .collectActions {
          top: 2px;
        }

        .icon {
          margin-left: 8px;
          opacity: .7;
          color: @white;
          transition: transform 200ms ease;
          &:hover {
            opacity: 1;
            transform: scale(1.1, 1.1);
          }
        }
        .transfer, .edit, .delete {
          font-size: 1.25em;
          .icon;
        }
        .collect, .unCollect {
          font-size: 17px;
          .icon;
        }
        .createNewWrapper {
          width: 100%;
          height: 100%;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
        }
      }
      .header {
        margin-bottom: 16px;
        font-size: 18px;
        color:#383838;
      }
    }
    .sideBox{
      margin-bottom: 16px;
    }
  }
  .searchListWrapper{
    margin: 0 auto 16px auto;
    flex-shrink: 0;
    z-index: 9;
    .listPadding{
      padding: 0 12px 12px 12px;
    }
  }
}
.starWrapperPosition {
  position: absolute;
  right: 6px;
  bottom: 6px;
}

.overflowY {
  overflow-y: auto;
}

.createIcon {
  font-size: 28px;
  color: #a6a6a6;
}
.createText {
  font-size: 16px;
  color: #a6a6a6;
}

.formWrapper {
  padding: 16px;
  text-align: left;
  .header {
    .title{
      font-size: 24px;
      color:@rich-text;
      font-weight: 600;
    }
    .desc{
      margin-top: 4px;
      font-size: 14px;
      color:@description-text;
    }
  }
  .body {
    margin: 16px auto;
  }
  .footer{
    button {
      margin-right: 6px;
    }
  }
}

.selectOption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  .title{
    display: flex;
    align-items: center;
  }
  .owner{
   // color: @rich-text;
    font-size: 18px;
    font-weight: 600;
    margin-right: 8px;
  }
}

.groupList {
  padding: 8px 24px 8px 18px;
  box-shadow: 0 -1px 0 @grey-line-color;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  &:hover {
    color: @blue;
  }
  .orgHeader {
    display: flex;
    .avatar {
      display: flex;
      align-items: center;
      img {
        vertical-align: top;
      }
    }
    .name {
      display: flex;
      flex-direction: column;
      margin-left: 14px;
      .title {
        font-weight: 400;
        font-size: 14px;
      }
      .desc {
        font-size: 12px;
        color: @description-text;
      }
    }
  }
  .setting {
    align-self: center;
    font-size: 18px;
    cursor: pointer;
  }
}
.searchList {
  padding: 8px 18px 8px 18px;
 // box-shadow: 0 -1px 0 @grey-line-color;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  cursor: pointer;
  &:hover {
    color: @blue;
  }
  .orgHeader {
    display: flex;
    .avatar {
      display: flex;
      align-items: center;
      img {
        vertical-align: top;
      }
    }
    .name {
      display: flex;
      flex-direction: column;
      margin-left: 14px;
      .title {
        font-weight: 400;
        font-size: 14px;
      }
      .desc {
        font-size: 12px;
        color: @description-text;
      }
    }
  }
  .others{
    position: relative;
    .star {
      position: absolute;
      right: -9px;
      top: 16px;
    }
  }
}
.projectItemWrap{
  padding: 8px 8px;
  margin-top: 16px;
  border-radius: 4px;
  border: 1px solid #ccc;
  display: flex;
  &:hover {
    background-size: 110%;
    box-shadow: @block-active-box-shadow;
    transform: translate3d(0, -5px, 0);
  }
  .avatarWrapper{
    width: 260px;
    height: 120px;
    margin-right: 20px;
    background-color: @body-background;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center center;
    border-radius: 2px;
    box-shadow: @block-box-shadow;
    transform: translate3d(0, 0, 0);
    transition: transform 200ms linear,
    box-shadow 200ms linear,
    background-size 500ms linear;
    position: relative;
  }
  .detailWrapper {
    display: flex;
    flex-direction: column;
    .title {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 16px;
      color: @blue;
      cursor: pointer;
    }
    .desc {
      font-size: 12px;
      color: @description-text;
      margin-bottom: 8px;
    }
    .tag {
      margin-bottom: 8px;
      span {
        font-size: 12px;
      }
    }
    .others {
      display: flex;
      .updateTime {
        color: @rich-text;
        margin-right: 32px;
        .label {
          color: @description-text;
          margin-right: 8px;
        }
      }
      .stars {
        margin-right: 32px;
        cursor: pointer;
        color: @rich-text;
      }
      .delete {
        cursor: pointer;
      }
    }
  }
}
.mask {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: #373737;
  background-color: rgba(55, 55, 55, 0.55);
  height: 100%;
  z-index: 6;
  filter: blur(10px);
  backdrop-filter: blur(10px);
}
@media only screen and (min-width: 1601px) {
  .wrap {
    width: 1570px;
  }
  .search, .searchListWrapper, .searchKeywords{
    width: 1570px;
  }
  .mime, .join{
    margin: 0 16px 16px 0;
  }
}
@media only screen and (max-width: 1600px) and (min-width: 1400px) {
  .wrap {
    width: 1246px;
  }
  .search, .searchListWrapper, .searchKeywords{
    width: 1246px;
  }
  .mime, .join{
    margin: 0 16px 16px 0;
  }
}
@media only screen and (min-width: 1200px) and (max-width: 1400px) {
  .wrap {
    width: 1096px;
  }
  .search, .searchListWrapper, .searchKeywords{
    width: 1096px;
  }
  .mime, .join{
    margin: 0 16px 16px 0;
  }
}
@media only screen and (max-width: 1199px) and (min-width: 991px) {
  .wrap {
    width: 900px;
  }
  .search, .searchListWrapper, .searchKeywords{
    width: 900px;
  }
  .mime, .join{
    margin: 0 0 16px 0;
  }
}
@media only screen and (max-width: 990px) and (min-width: 768px) {
  .wrap {
    width: 636px;
  }
  .search, .searchListWrapper, .searchKeywords{
    width: 636px;
  }
  .mime, .join{
    margin: 0 0 16px 0;
  }
}

@media only screen and (max-width: 767px) and (min-width: 300px) {
  .wrap {
    width: 348px;
  }
  .search, .searchListWrapper, .searchKeywords{
    width: 348px;
  }
  .mime, .join{
    margin: 0 0 16px 0;
  }
}





